<link href="./css/style.css" rel="stylesheet" type="text/css" />
<div class="main">
<div class="cashlist">
	<p class="tt"><a>首页</a>><a>财务管理</a>><span>帮扶记录</span></p>
	<div class="div">
		<form method='GET' action="?" class='search' >		
			<p><span>会员账户</span><input type='text' name='uname' value="{$uname}" placeholder='请输入会员账户' /></p>
			<p><span>开始时间</span><input type='date' name='stime' value="{$stime}" /></p>		
			<p><span>结束时间</span><input type='date' name='etime' value="{$etime}" /></p>		
			<p><input type='submit' value='立即搜索' /></p>		
		</form>
	</div>	
	<div class="list">
	{if($msg==0)}
	<p class='none'>未查询到资料</p>
	{else}
		<table>
		<tr class="after"><th>ID</th><th>账号</th><th>姓名</th><th>备注</th><th>金额</th><th>时间</th></tr>
	{loop $clist $key as $list}
	<tr class="remove">
		<td>{$list[Id]}</td>
		<td>{$list[uname]}</td>
		<td>{$list[tname]}</td>
		<td>{if($list['content'])}
			{$list[content]}
			{else}
			{$jjarr[$list[type]]}
			{/if}</td>
		<td>
			{if($list['adda']==1)}+
			{else}-
			{/if}
			{$list[cash]}</td>
		<td>{$list[addtime]}</td>

	</tr>
	{/loop}
	</table>
	{$page}
	{/if}
	<script src="./js/jquery.js"></script>

	<script>
		h1 = $(".main").height();
		h2 = $(".cashlist").height();
		if(h2>h1){
			$(".main").css("height","auto");
		}
		$('tr').click(function(){	
			$('tr').removeClass('onactive');
			$(this).addClass('onactive');
		});
	</script>
	</div>
</div>
</div>